package com.cise.demo;

import java.io.File;
import java.util.ArrayList;
import java.util.List;

import com.cise.searcher.utils.Result;
import com.cise.services.impl.SearchServiceImpl;

public class SearcherDemo {

	public static void main(String[] args) {
		File file = new File("H:\\Nginx\\nginx-1.7.6\\nginx-1.7.6\\html\\pictures\\1000\\1000.jpg");
		SearchServiceImpl searchServiceImpl = new SearchServiceImpl(file);
		List<Result> results = searchServiceImpl.search();
		for(int i = 0; i < results.size(); i++){
			System.out.println(results.get(i).toString());
		}
	}

}
